package com.zenchn.entity;


import java.io.Serializable;

/**
 * 临时文件 缓存信息 映射体
 *
 * @author dingxinfa
 * @date 2018-08-20
 **/
public class FileMeta implements Serializable {

	/***
	 * 文件名称
	 */
	private String fileName;
	/***
	 * 文件服务器保存路径
	 */
	private String saveFilePath;
	/**
	 * uuid 唯一编号
	 */
	private String uuid;
	/**
	 * 文件大小
	 */
	private String fileSize;
	/**
	 * 文件类型
	 */
	private String fileType;
	/**
	 * 错误信息
	 */
	private String error;
	/**
	 * 文件缩略图 url
	 */
	private String thumbnailUrl;
	/**
	 * 文件 url
	 */
	private String fileUrl;
	/**
	 * 删除 文件 url
	 */
	private String deleteUrl;

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getSaveFilePath() {
		return saveFilePath;
	}

	public void setSaveFilePath(String saveFilePath) {
		this.saveFilePath = saveFilePath;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getFileSize() {
		return fileSize;
	}

	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}

	public String getThumbnailUrl() {
		return thumbnailUrl;
	}

	public void setThumbnailUrl(String thumbnailUrl) {
		this.thumbnailUrl = thumbnailUrl;
	}

	public String getFileUrl() {
		return fileUrl;
	}

	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}

	public String getDeleteUrl() {
		return deleteUrl;
	}

	public void setDeleteUrl(String deleteUrl) {
		this.deleteUrl = deleteUrl;
	}

	@Override
	public String toString() {
		return "FileMeta{" +
				"fileName='" + fileName + '\'' +
				", saveFilePath='" + saveFilePath + '\'' +
				", uuid='" + uuid + '\'' +
				", fileSize='" + fileSize + '\'' +
				", fileType='" + fileType + '\'' +
				", error='" + error + '\'' +
				", thumbnailUrl='" + thumbnailUrl + '\'' +
				", fileUrl='" + fileUrl + '\'' +
				", deleteUrl='" + deleteUrl + '\'' +
				'}';
	}
}
